var fixtures = {};

fixtures.GRID1 = {
  rows3: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 3, h: 1, x: 0, y: 2},
    {w: 1, h: 1, x: 1, y: 0},
    {w: 2, h: 1, x: 1, y: 1},
    {w: 1, h: 1, x: 2, y: 0},
    {w: 1, h: 0, x: 3, y: 0},
    {w: 1, h: 1, x: 4, y: 0},
    {w: 2, h: 1, x: 4, y: 1},
    {w: 1, h: 1, x: 4, y: 2},
    {w: 1, h: 1, x: 5, y: 0},
    {w: 1, h: 1, x: 5, y: 2},
    {w: 1, h: 2, x: 6, y: 0},
    {w: 1, h: 1, x: 6, y: 2}
  ],
  rows2: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 3, h: 1, x: 1, y: 0},
    {w: 1, h: 1, x: 1, y: 1},
    {w: 2, h: 1, x: 2, y: 1},
    {w: 1, h: 1, x: 4, y: 0},
    {w: 1, h: 0, x: 5, y: 0},
    {w: 1, h: 1, x: 6, y: 0},
    {w: 2, h: 1, x: 6, y: 1},
    {w: 1, h: 1, x: 7, y: 0},
    {w: 1, h: 1, x: 8, y: 0},
    {w: 1, h: 1, x: 8, y: 1},
    {w: 1, h: 2, x: 9, y: 0},
    {w: 1, h: 1, x: 10, y: 0}
  ],
  rows4: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 3, h: 1, x: 0, y: 2},
    {w: 1, h: 1, x: 0, y: 3},
    {w: 2, h: 1, x: 1, y: 0},
    {w: 1, h: 1, x: 1, y: 1},
    {w: 1, h: 0, x: 3, y: 0},
    {w: 1, h: 1, x: 4, y: 0},
    {w: 2, h: 1, x: 4, y: 1},
    {w: 1, h: 1, x: 4, y: 2},
    {w: 1, h: 1, x: 4, y: 3},
    {w: 1, h: 1, x: 5, y: 0},
    {w: 1, h: 2, x: 5, y: 2},
    {w: 1, h: 1, x: 6, y: 0}
  ]
};

fixtures.GRID2 = {
  rows3: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 1, h: 1, x: 0, y: 2},
    {w: 1, h: 0, x: 1, y: 0},
    {w: 2, h: 1, x: 2, y: 0},
    {w: 2, h: 1, x: 2, y: 1},
    {w: 1, h: 1, x: 2, y: 2},
    {w: 1, h: 1, x: 3, y: 2},
    {w: 3, h: 1, x: 4, y: 0},
    {w: 1, h: 1, x: 4, y: 1},
    {w: 1, h: 1, x: 4, y: 2},
    {w: 2, h: 1, x: 5, y: 1},
    {w: 2, h: 1, x: 5, y: 2},
    {w: 1, h: 0, x: 7, y: 0},
    {w: 1, h: 1, x: 8, y: 0},
    {w: 1, h: 1, x: 8, y: 1},
    {w: 1, h: 1, x: 8, y: 2}
  ],
  rows2: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 1, h: 1, x: 1, y: 0},
    {w: 1, h: 0, x: 2, y: 0},
    {w: 2, h: 1, x: 3, y: 0},
    {w: 2, h: 1, x: 3, y: 1},
    {w: 1, h: 1, x: 5, y: 0},
    {w: 1, h: 1, x: 5, y: 1},
    {w: 3, h: 1, x: 6, y: 0},
    {w: 1, h: 1, x: 6, y: 1},
    {w: 1, h: 1, x: 7, y: 1},
    {w: 2, h: 1, x: 8, y: 1},
    {w: 2, h: 1, x: 9, y: 0},
    {w: 1, h: 0, x: 11, y: 0},
    {w: 1, h: 1, x: 12, y: 0},
    {w: 1, h: 1, x: 12, y: 1},
    {w: 1, h: 1, x: 13, y: 0}
  ],
  rows4: [
    {w: 1, h: 1, x: 0, y: 0},
    {w: 1, h: 1, x: 0, y: 1},
    {w: 1, h: 1, x: 0, y: 2},
    {w: 1, h: 0, x: 1, y: 0},
    {w: 2, h: 1, x: 2, y: 0},
    {w: 2, h: 1, x: 2, y: 1},
    {w: 1, h: 1, x: 2, y: 2},
    {w: 1, h: 1, x: 2, y: 3},
    {w: 3, h: 1, x: 3, y: 2},
    {w: 1, h: 1, x: 3, y: 3},
    {w: 1, h: 1, x: 4, y: 0},
    {w: 2, h: 1, x: 4, y: 1},
    {w: 2, h: 1, x: 4, y: 3},
    {w: 1, h: 0, x: 6, y: 0},
    {w: 1, h: 1, x: 7, y: 0},
    {w: 1, h: 1, x: 7, y: 1},
    {w: 1, h: 1, x: 7, y: 2}
  ]
};


fixtures.DEMO = [
  {w: 1, h: 1, x: 0, y: 0},
  {w: 1, h: 2, x: 0, y: 1},
  {w: 2, h: 2, x: 1, y: 0},
  {w: 1, h: 1, x: 1, y: 2},
  {w: 2, h: 1, x: 2, y: 2},
  {w: 1, h: 1, x: 3, y: 0},
  {w: 1, h: 1, x: 3, y: 1},
  {w: 1, h: 0, x: 4, y: 0},
  {w: 3, h: 1, x: 5, y: 0},
  {w: 2, h: 1, x: 5, y: 1},
  {w: 1, h: 1, x: 5, y: 2},
  {w: 2, h: 1, x: 6, y: 2},
  {w: 1, h: 1, x: 7, y: 1},
  {w: 2, h: 0, x: 8, y: 0},
  {w: 1, h: 1, x: 10, y: 0},
  {w: 1, h: 1, x: 10, y: 1},
  {w: 1, h: 1, x: 10, y: 2}
];

fixtures.verticalGridDemo = [
  {w: 1, h: 1, x: 0, y: 0},
  {w: 1, h: 1, x: 1, y: 0},
  {w: 1, h: 1, x: 2, y: 0},
  {w: 2, h: 1, x: 0, y: 1},
  {w: 1, h: 1, x: 2, y: 1},
  {w: 3, h: 1, x: 0, y: 2},
  {w: 1, h: 2, x: 0, y: 3},
  {w: 1, h: 1, x: 1, y: 3},
  {w: 1, h: 1, x: 2, y: 3},
  {w: 1, h: 1, x: 1, y: 4},
  {w: 1, h: 1, x: 2, y: 4},
  {w: 2, h: 1, x: 0, y: 5},
  {w: 1, h: 2, x: 2, y: 5},
  {w: 1, h: 1, x: 0, y: 6},
  {w: 1, h: 1, x: 1, y: 6},
  {w: 2, h: 2, x: 0, y: 7},
  {w: 1, h: 2, x: 2, y: 7}
];

// Enable Node module
if (typeof(require) == 'function') {
  for (var k in fixtures) {
    exports[k] = fixtures[k];
  }
}
